<template>
  <el-card style="height:400px">
    <div slot="header">
      <div class="category-header">
        <span>销售额类别占比</span>
        <el-radio-group v-model="value" size="medium">
          <el-radio-button label="全部渠道"></el-radio-button>
          <el-radio-button label="线上"></el-radio-button>
          <el-radio-button label="门店"></el-radio-button>
        </el-radio-group>
      </div>
    </div>
    <!-- 饼状图区域 -->
    <div class="echarts" ref="echarts"></div>
  </el-card>
</template>

<script>
import * as echarts from 'echarts'
export default {
  name:'',
  data(){
    return {
      value:'全部渠道' 
    }
  },
  mounted(){
    
  }
};
</script>

<style scoped>
.category-header{
  padding: 5px 0;
  align-items: center;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #eee;
}
.echarts{
  width: 100%;
  height: 300px;
}
</style>